﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Plugin;
using System.ComponentModel.Composition;
using COFE.Core.Utils;
using COFE.Core.Lister;
using COFE.IO.COFEWS;

namespace COFE.Web.IO.Plugin
{
    [Export(typeof(IPlugin))]
    public class COFEWebIOPlugin : COFEPluginBase
    {
        public COFEWebIOPlugin()
            : base(PluginBase.Priority_COFEIO)
        {
            registerProperties<COFEWSProperties>();
            _directoryListerFactories.AddRange(new IFactory<IDirectoryLister>[] 
            {
                new COFEWSFactory("COFEWS")
            });
        }
    }
}
